package com.huxun.service.Impl;

import com.huxun.bean.User;
import com.huxun.mapper.UserMapper;
import com.huxun.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    @Override
    public User login(User user) {
        return userMapper.login(user);
    }
}
